package com.vova;

import java.io.IOException;

import com.vova.packagefirst.MapProcessorFirst;
import com.vova.packagesecond.MapProcessorSecond;

public class Main {

    private static final int MAP1_ENTRY_NUMBER = 30;
    private static final int MAP2_ENTRY_NUMBER = 20;
    private static final int MAX_CAPACITY = 10;

    public static void main(String[] args) throws SecurityException, IOException {
        new MapProcessorFirst().processMap(new MyMap<Integer, Integer>(MAX_CAPACITY), MAP1_ENTRY_NUMBER);
        new MapProcessorSecond().processMap(new MyMap<Integer, Integer>(MAX_CAPACITY), MAP2_ENTRY_NUMBER);
    }
}